package com.hsyg.netty.code;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ByteToMessageCodec;

import java.util.List;

/**
 * 二进制转16进制 转字符串
 */
public class ByteToStringDecoder extends ByteToMessageCodec<String>{
  @Override
  protected void encode(ChannelHandlerContext ctx, String msg, ByteBuf out) throws Exception {

  }

  @Override
  protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Exception {

  }
}
